package com.cy.pj.sys.entity;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
public class SysLog implements Serializable {
    private static final long serialVersionUID = -2869434764157539154L;
    private Long id;
    @NotNull
    private String username;
    @NotNull
    private String operation;
    @NotNull
    private String method;
    @NotNull
    private String params;
    private Long time;
    @NotNull
    private String ip;
    @NotNull
    private Date createdTime;
}
